<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        
        //变量声明： var
        var uname='小王';    //赋值
            uname="老王"     //重新赋值
            uname=1000000    //再重新赋值
            console.log(uname);

        var ni='小卢'
        var ni='sss'
        console.log(ni);
    </script>
</head>
<body>


    
</body>
</html>